package com.zm.shop.stock.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import lombok.Data;

/**
 * 商品库存管理
 * 
 * @author Java2103
 * @email Java2103@qq.com
 * @date 2021-08-03 22:02:45
 */
@Data
@TableName("stock")
public class StockEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * ID
	 */
		@TableId(type = IdType.AUTO)
	private Integer id;
	/**
	 * 商品ID
	 */
	private Integer gid;
	/**
	 * 商品库存
	 */
	private Integer stock;
	/**
	 * 仓库编号
	 */
	private Integer wid;

}
